<template>
  <div class="dashboard-container">
    <div class="dashboard-text">
      <Card />
      <Sale style="margin: 10px 0" />
      <Observe />
    </div>
  </div>
</template>

<script>
import Card from "./Card";
import Sale from "./Sale";
import Observe from "./Observe";

export default {
  name: "Dashboard",
  components: { Card, Sale, Observe },
  mounted() {
    this.$store.dispatch("home/getDate");
    console.log(this.$store.getters, 123);
  },
};
</script>

<style lang="scss" scoped>
.dashboard {
  &-container {
    margin: 30px;
  }
  &-text {
    font-size: 30px;
    line-height: 46px;
  }
}
</style>
